import request from '@/utils/request'

// 查询设备申请管理列表
export function listEquipmentApply(query) {
  return request({
    url: '/supply/equipmentApply/list',
    method: 'get',
    params: query
  })
}

// 查询设备申请管理详细
export function getEquipmentApply(id) {
  return request({
    url: '/supply/equipmentApply/' + id,
    method: 'get'
  })
}

// 新增设备申请管理
export function addEquipmentApply(data) {
  return request({
    url: '/supply/equipmentApply',
    method: 'post',
    data: data
  })
}

// 修改设备申请管理
export function updateEquipmentApply(data) {
  return request({
    url: '/supply/equipmentApply',
    method: 'put',
    data: data
  })
}

// 删除设备申请管理
export function delEquipmentApply(id) {
  return request({
    url: '/supply/equipmentApply/' + id,
    method: 'delete'
  })
}
